package com.huawang.mdesign.model.service.vo;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
public class ValidatorAnnoation {

    @Schema(title = "警告ID")
    private String warningId;

    @Schema(title = "校验规则简称")
    private String abbreviation;

    @Schema(title = "校验规则模型id")
    private String validationRuleInstanceId;

    @Schema(title = "校验规则错误等级")
    private Integer validationRuleSeverity;

    @Schema(title = "校验规则错误信息")
    private String validationRuleErrorMessage;

    @Schema(title = "校验规则类型")
    private String ruleType;

    @Schema(title = "获取错误信息")
    private String errorMessage;

    @Schema(title = "错误等级")
    private String severity;

    @Schema(title = "错误类型")
    private String errorType;

    @Schema(title = "规则key")
    private String ruleKey;

    @Schema(title = "模型id")
    private String instanceId;

    @Schema(title = "是否忽略异常")
    private Boolean ignore = false;

}
